package personnel.department.dao.entity;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="type")
public class EmployeeType implements UniqueObject {

	@Column(name="type_post")
	private String type;
	
	@Id
	@Column(name="post")
	private String post;
	
	public EmployeeType() {
	}
	
	public Long getId() {
		return null;
	}

	public String getType() {
		return type;
	}

	public String getPost() {
		return post;
	}

	public void setId(Long id) {}

	public void setType(String type) {
		this.type = type;
	}

	public void setPost(String post) {
		this.post = post;
	}

}
